<?php
@include_once('../include/init.php');
?>
<html>
<head>
<link rel="stylesheet" rev="stylesheet" href="resources/images/control.css" type="text/css" media="all" />
<title>后台管理-菜单</title>
<script>
var LastItem=null
function MenuClick(obj,url){
 if (LastItem!=null){
  LastItem.className="menuA"
 }
 obj.className="menuAS"
 LastItem=obj
 obj.blur()
 if (url.length>0) parent.MainContent.location=url;
}
</script>
<style>
html{
	overflow:hidden;
}
</style>
</head>
<body class="menuBody" onload="MenuClick(document.getElementById('index'),'fooee.php')">
 <ul class="menuUL">
   <li><a id="index" href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'fooee.php')"><img src="images/b.gif" alt="" border="0" class="MenuIcon icon0"/>后台首页</a></li>
   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'admin_announcement.php')"><img src="images/exam-icon.png" alt="" border="0" class="MenuIcon icon6"/>公告管理</a></li>
   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'admin_department_major.php?do=department')"><img src="images/b.gif" alt="" border="0" class="MenuIcon icon6"/>系别/专业管理</a></li>
   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'admin_class.php?do=duemanage')"><img src="images/Group-icon2.png" alt="" border="0" class="MenuIcon icon6"/>班级管理</a></li>
   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'admin_teacher.php')"><img src="images/user-group-icon1.png" alt="" border="0" class="MenuIcon icon6"/>教师管理</a></li>
   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'admin_student.php')"><img src="images/User-Group-icon.png" alt="" border="0" class="MenuIcon icon6"/>学生管理</a></li>

   <li><a href="javascript:void(0)" class="menuA" onclick="MenuClick(this,'?do=logout')"><img src="images/b.gif" onclick="parent.Menu.location='?do=logout'" alt="" border="0" class="MenuIcon icon9"/>安全退出</a></li>
</ul>
<?php
	$do = fs_get_value('do');
	if($do=='logout'){
	  unset($_SESSION['admin']);
	   echo '<script type="text/javascript"> 
if (top.location !== self.location) {
    window.top.location = "index.php";
}
</script>';

}

?>
 </body>
</html>